package com.tiger.project.domain;

import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;

import com.fasterxml.jackson.annotation.JsonFormat;

import com.tiger.common.annotation.Excel;
import com.tiger.common.core.domain.BaseEntity;
import lombok.Data;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;


/**
 * 【租金到账】对象 asset_receipt_account
 *
 * @author standard
 * @date 2022-11-22
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value = "asset_receipt_account对象", description = "【租金到账】内容")
public class AssetReceiptAccount extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * $column.columnComment
     */
    private Long id;

    /**
     * 租金收款id
     */
    @Excel(name = "租金收款id")
    @ApiModelProperty(value = "租金收款id")
    private Long assetReceiptId;

    /**
     * OA审核状态 1-未提交，2-审批中，3-审批通过，4-已驳回
     */
    @Excel(name = "OA审核状态 1-未提交，2-审批中，3-审批通过，4-已驳回")
    @ApiModelProperty(value = "OA审核状态 1-未提交，2-审批中，3-审批通过，4-已驳回")
    private Long status;

    /**
     * 收款时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "收款时间", width = 30, dateFormat = "yyyy-MM-dd")
    @ApiModelProperty(value = "收款时间")
    private Date receiptTime;

    /**
     * 收款金额
     */
    @Excel(name = "收款金额")
    @ApiModelProperty(value = "收款金额")
    private BigDecimal receiptMoney;

    /**
     * 收款凭证号
     */
    @Excel(name = "收款凭证号")
    @ApiModelProperty(value = "收款凭证号")
    private String receiptNumber;

    /**
     * 合同发起id
     */
    @Excel(name = "合同发起id")
    @ApiModelProperty(value = "合同发起id")
    private Long contractSponsorId;


    @ApiModelProperty(value = "收款附件集合")
    List<AssetReceiptAccountEnclosure> accountEnclosureList = new ArrayList<>();


}
